package com.qingzhuge.member.dto.response;

import com.qingzhuge.dto.response.BaseResponsePkLongDto;
import com.qingzhuge.member.enums.EnumUserMessageType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author : zero.xiao
 * @description :
 * @date :2019-06-25 11:30
 * @modified :
 */
@Setter
@Getter
@ApiModel("用户消息，发送给用户的消息、通知等")
public class SysUserMessageResponseDto extends BaseResponsePkLongDto {

    @ApiModelProperty("消息类型")
    private EnumUserMessageType type;

    @ApiModelProperty("消息标题")
    private String name;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("是否已读")
    private Boolean read;

    @ApiModelProperty("状态：发送中0，成功1，失败-1")
    private Integer status;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
